package com.sys.gradepaysys.entity;

import java.io.Serializable;

public class Student implements Serializable {
    private Integer sId;
    private String sName;
    private String sNum;
    private String password;
    private String sex;
    private Integer age;
    private String qq;
    private String sTel;
    private String gName;
    private String Cname;

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsNum() {
        return sNum;
    }

    public void setsNum(String sNum) {
        this.sNum = sNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getsTel() {
        return sTel;
    }

    public void setsTel(String sTel) {
        this.sTel = sTel;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public String getCname() {
        return Cname;
    }

    public void setCname(String cname) {
        Cname = cname;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "sId=" + sId +
                ", sName='" + sName + '\'' +
                ", sNum='" + sNum + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", qq='" + qq + '\'' +
                ", sTel='" + sTel + '\'' +
                ", gName='" + gName + '\'' +
                ", Cname='" + Cname + '\'' +
                '}';
    }

    public Student(Integer sId, String sName, String sNum, String password, String sex, Integer age, String qq, String sTel, String gName, String cname) {
        this.sId = sId;
        this.sName = sName;
        this.sNum = sNum;
        this.password = password;
        this.sex = sex;
        this.age = age;
        this.qq = qq;
        this.sTel = sTel;
        this.gName = gName;
        Cname = cname;
    }
}
